<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="../js/angular.min.js"></script>
    <script src="../js/angular-route.min.js"></script>
</head>
<body>
    <div ng-app="myapp">
        <div>
            <h1>HEAD</h1>
            <a href="#/JavaEE">JavaEE</a>
            <a href="#/IOS">IOS</a>
            <a href="#/Android">android</a>
        </div>
        <div ng-view></div>
        <div>
            <h1>FOOT</h1>
        </div>
    </div>
</body>
<script>
    var myapp = angular.module("myapp", ["ngRoute"]);
    myapp.config(["$routeProvider", function($routeProvider){
        $routeProvider
            .when("/JavaEE", {
                templateUrl: '5_1.html',
            })
            .when("/IOS", {
                templateUrl: '5_2.html',
            })
            .when("/Android", {
                templateUrl: '5_3.html',
            })
            .otherwise({
                redirectTo: '/JavaEE',
            });
    }]);
</script>
</html>